<?php
// AI Website - Main Entry Point
// This will redirect to the appropriate page based on installation status

// Check if installation is completed
$install_file = 'config/installed.txt';
if (!file_exists($install_file)) {
    // Redirect to installation page if not installed
    header('Location: install.php');
    exit;
} else {
    // Redirect to main interface
    header('Location: main.php');
    exit;
}
?>
